package pojo.dao;

import org.apache.ibatis.session.SqlSession;
import org.apache.ibatis.session.SqlSessionFactory;

public abstract class AbstractMapperDAO {
    protected SqlSession session;
    protected int state;

    public AbstractMapperDAO(SqlSessionFactory factory) {
        session = factory.openSession();
    }
}
